<div id="global">
	<?php require_once '/template/left-sidebar.phtml';?>
	<div id="content-with-twoside">
		<div class="global-border">
			<h1><span><?php echo $this->escape($this->title);?></span></h1>
			<div class="global-content">
				<table id="tblProfile">
					<tr>
						<td style="width: 60px;"><?php echo $this->escape($this->username);?></td>
						<td><?php echo $this->mbmEntry[0]->username;?></td>
						<td rowspan="5" style="width: 135px;">
							<img src="<?php echo $this->mbmEntry[0]->image;?>" width="135px" height="135px"></img> 
						</td>
					</tr>
					<tr>
						<td><?php echo $this->escape($this->creationDate);?></td>
						<td><?php echo $this->mbmEntry[0]->creation_time;?></td>
					</tr>
					<tr>
						<td><?php echo $this->escape($this->credit);?></td>
						<td><?php echo $this->mbmEntry[0]->deal_credit;?></td>
					</tr>
					<tr>
						<td><?php echo $this->escape($this->mark);?></td>
						<td><?php echo $this->mbmEntry[0]->rating_credit;?>分</td>
					</tr>
					<tr>
						<td style="vertical-align: top;"><?php echo $this->escape($this->description);?></td>
						<td style="vertical-align: top;"><?php echo $this->mbmEntry[0]->description;?></td>
					</tr>
					<tr>
						<td></td>
						<td></td>
						<td style="text-align: center;">
							<?php 
							if($this->haveAdded == 'F' && $this->isOwn == 'F'){
							?>
							<form id="frmAddFriend" method="post" action="<?php echo $this->escape($this->addFriendAction);?>">
								<input id="btnAddFriend" type="submit" value="<?php echo $this->escape($this->friend);?>"/>
							</form>
							<?php 
							}
							?>
						</td>
					</tr>
					<tr>
						<td></td>
						<td></td>
						<td style="text-align: center;">
							<?php 
							if($this->haveAdded == 'F' && $this->isOwn == 'F'){
							?>
							<form id="frmBlockUser" method="post" action="<?php echo $this->escape($this->blockUserAction);?>">
								<input id="btnBlockUser" type="submit" value="<?php echo $this->escape($this->block);?>"/>
							</form>
							<?php 
							}
							?>
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
	<?php require_once '/template/right-sidebar.phtml';?>
</div>